package com.gf.framework.translatordemo.vo;

import com.gf.framework.translatordemo.translator.TeacherStudentTranslator;
import com.gf.framework.web.annotation.Translate;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author gaofei
 * @Description
 * @create 2022/5/26 13:02
 */
@Data
public class TeacherVo implements Serializable {
    private Integer teacherId;

    private String name;

    @Translate(translator = TeacherStudentTranslator.class, from = "teacherId")
    private List<StudentVo> studentVoList;
}
